<template>
  <div>
    <el-container>
      <el-header>Header1</el-header>
      <el-main>Main1</el-main>
    </el-container>

    <el-container>
      <el-header>Header2</el-header>
      <el-main>Main2</el-main>
      <el-footer>Footer2</el-footer>
    </el-container>

    <el-container>
      <el-aside width="200px">Aside3</el-aside>
      <el-main>Main3</el-main>
    </el-container>

    <el-container>
      <el-header>Header4</el-header>
      <el-container>
        <el-aside width="200px">Aside4</el-aside>
        <el-main>Main4</el-main>
      </el-container>
    </el-container>

    <el-container>
      <el-header>Header5</el-header>
      <el-container>
        <el-aside width="200px">Aside5</el-aside>
        <el-container>
          <el-main>Main5</el-main>
          <el-footer>Footer5</el-footer>
        </el-container>
      </el-container>
    </el-container>

    <el-container>
      <el-aside width="200px">Aside6</el-aside>
      <el-container>
        <el-header>Header6</el-header>
        <el-main>Main6</el-main>
      </el-container>
    </el-container>

    <el-container>
      <el-aside width="200px">Aside7</el-aside>
      <el-container>
        <el-header>Header7</el-header>
        <el-main>Main7</el-main>
        <el-footer>Footer7</el-footer>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  name: 'OftenContainer'
}
</script>

<style scoped>
  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }

  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }

  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }

  body > .el-container {
    margin-bottom: 40px;
  }

  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
</style>
